import numpy as np
from sklearn.base import TransformerMixin
X=[[ 0.0579 ,   0.1389   , 0.2722 ,   0.4451],[0.3529 ,   0.2028  ,  0.1988 ,  0.9318],
[0.8132   , 0.1987  ,  0.0153   , 0.4660],[0.0099 ,   0.6038  ,  0.7468    ,0.4186]]
var = np.mean(X,axis=1)
print var